package cn.edkuir.search.vo;

import lombok.Data;

import java.util.List;

@Data
public class SearchParam {
    private String keyword; //全文匹配关键字
    private Long catalog3Id;    //三级分类id
    /**
     *  sort=saleCount_asc/desc
     *  sort=skuPrice_asc/desc
     *  sort=hotScore_asc/desc
     */
    private String sort;    //排序条件

    /**
     * 过滤条件 hasStock(是否有货), skuPrice(价格区间), brandId(品牌id), attrs(商品属性)
     *  hasStock=0/1
     *  skuPrice=1_500/_500/500_
     *  brandId=1&brandId=2
     *  attrs=1_其它:安卓&attrs=2_5寸:6寸
     */
    private Integer hasStock = 1;   //是否仅显示有货
    private String skuPrice;    //价格区间
    private List<Long> brandId; //品牌(可多选)
    private List<String> attrs; //属性值(可多选)
    private Integer pageNum = 1;    //页码
}
